﻿using Max.PH4_2104A.Shopping.ThreeFrame.Model;
using Microsoft.EntityFrameworkCore;

namespace Max.PH4_2104A.Shopping.ThreeFrame.DAL
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }

        //2023/9/14 系统用户模型
        public virtual DbSet<SystemUserModel> SystemUsers { get; set; }


        //20230918
        public virtual DbSet<BrandModel> Brands { get; set; }
        public virtual DbSet<CategoryModel> Categories { get; set; }
        public virtual DbSet<SPUModel> SPUs { get; set; }
        public virtual DbSet<SPUSpecModel> SPUSpecs { get; set; }
        public virtual DbSet<SPUSpecValueModel> SPUSpecValues { get; set; }
        public virtual DbSet<SKUImageModel> SKUImages { get; set; }
        public virtual DbSet<SKUModel> SKUs { get; set; }
    }
}